#{extends 'organization.html' /} 
#{set title:'Report form' /}

#{if flag==1 }
<h3>Report This Idea.</h3>
#{form @NotificationController.reportIdea(idIdea)}
<h4>All reports are strictly confidential. What best describes this?</h4>
<select name="reason" id="reason">
  <option>Spam or scam</option>
  <option>Contains hate speech or attacks an individual</option>
  <option>Violence or harmful behavior</option>
</select>
<br><br>
<h4>Please enter your report message here . </h4>
<textarea cols="60" rows="20" type="Text" name="reportDescr" id="reportDescr"> </textarea>
<span class="error" style="color: Red">#{error 'reportDescr' /}</span>
<input type="submit" name= "Report" value="Send Report">
#{/form}
#{/if}

#{if flag==2 }
<h2>Report This Topic.</h2> <br>
#{form @NotificationController.reportTopic(idTopic)}
<h4>All reports are strictly confidential. What best describes this?</h4>
<select name="reason" id="reason">
  <option>Spam or scam</option>
  <option>Contains hate speech or attacks an individual</option>
  <option>Violence or harmful behavior</option>
</select>
<br><br>
<h4>Please enter your report message here . </h4>
<textarea cols="60" rows="20" type="Text" name="reportDescr" id="reportDescr"> </textarea>
<span class="error" style="color: Red">#{error 'reportDescr' /}</span>
<input type="submit" name= "Report" value="Send Report">
#{/form}
#{/if}

#{if flag==3 }
<h3>Report This Comment.</h3>

#{form @NotificationController.reportComment(idComment)}
<h4>All reports are strictly confidential. What best describes this?</h4>
<select name="reason" id="reason">
  <option>Spam or scam</option>
  <option>Contains hate speech or attacks an individual</option>
  <option>Violence or harmful behavior</option>
</select>
<br><br>
<textarea cols="60" rows="20" type="Text" name="reportDescr" id="reportDescr"> </textarea>
<span class="error" style="color: Red">#{error 'reportDescr' /}</span>
<input type="submit" name= "Report" value="Send Report">
#{/form}
#{/if}